package com.ly.test.handle.impl;

import com.ly.common.core.bean.dto.MsgDTO;
import com.ly.common.core.enums.MsgTypeEnum;
import lombok.extern.slf4j.Slf4j;
import com.ly.test.handle.IMsgService;
import org.springframework.stereotype.Component;

/**
 * 微信消息
 *
 * @author luoyun
 */
@Slf4j
@Component
public class WxMsgService implements IMsgService {

    @Override
    public Boolean supports(String type) {
        return MsgTypeEnum.WX.getType().equals(type);
    }

    @Override
    public void sendMessage(MsgDTO dto) {
        log.info("发微信消息模板");
    }
}
